package com.neusoft.feign;

import org.springframework.stereotype.Component;

import com.neusoft.po.CommonResult;

@Component
public class AuthFeignClientCallBack implements AuthFeignClient {
	@Override
	public CommonResult getToken(String userId) {
		// 返回降级响应（食品信息返回null）
		return new CommonResult(403, "fegin触发了熔断降级", null);
	}
}